import 'dart:core';
import 'dart:ui';

/// 资源抽象类
abstract class KqBaseString {
  String get ok;

  String get cancel;

  String get confirm;

  String get loading;

  String get pleaseEnter;

  String get pleaseChoose;

  String get pleaseAdd;

  String get reset;

  String get clear;

  String get shareTo;

  String get dateFormate_yyyy_MM;

  String get dateFormate_yyyy_MM_dd;

  String get dateFormate_yyyy_MMMM_dd;

  String get expand;

  String get collapse;

  String get more;

  String get allPics;

  String get submit;

  String get noTagDataTip;

  List<String> get months;

  List<String> get weekFullName;

  List<String> get weekShortName;

  List<String> get weekMinName;

  String get skip;

  String get known;

  String get next;

  String get inputSearchTip;

  String get done;

  String get noDataTip;

  String get selectAll;

  String get selected;

  String get shareWayTip;

  String get max;

  String get min;

  String get selectCountLimitTip;

  String get to;

  String get filterConditionCountLimited;

  String get minValue;

  String get maxValue;

  String selectTitle(String selected);

  String get startDate;

  String get endDate;

  String get selectStartDate;

  String get selectEndDate;

  String get fetchErrorAndRetry;

  String get netErrorAndRetryLater;

  String get noSearchData;

  String get total;

  String get bar;

  String get imgUploadFail;

  String get search;

  String get noPermission;

  String get connectTimeoutHint;

  String get responseTimeoutHint;

  String get responseErrorHint;

  String get httpErrorHint;

  String get timeRange;

  String get takePhoto;

  String get choosePhoto;

  String get chooseFile;

  String get byDay;

  String get byMonth;

  String get byYear;

  String get pleaseChooseTime;

  String get endTimeNotLessStartTime;

  String get videoPlay;

  String get upperLowerTips;

  String get reload;

  String get clear2;
}

///
/// 中文资源
///
class KqStringZh extends KqBaseString {
  static Locale locale = Locale('zh', 'CN');

  @override
  String get ok => '确定';

  @override
  String get cancel => '取消';

  @override
  String get confirm => '确认';

  @override
  String get loading => '加载中...';

  @override
  String get pleaseEnter => '请输入';

  @override
  String get pleaseChoose => '请选择';

  @override
  String get pleaseAdd => '请添加';

  @override
  String get reset => '重置';

  @override
  String get clear => '清空';

  @override
  String get shareTo => '分享至';

  @override
  String get dateFormate_yyyy_MM => 'yyyy年MM月';

  @override
  String get dateFormate_yyyy_MM_dd => 'yyyy年MM月dd日';

  @override
  String get dateFormate_yyyy_MMMM_dd => 'yyyy年,MMMM月,dd日';

  @override
  String get expand => '展开';

  @override
  String get collapse => '收起';

  @override
  String get more => '更多';

  @override
  String get allPics => '全部图片';

  @override
  String get submit => '提交';

  @override
  String get noTagDataTip => '暂未配置可选标签数据';

  @override
  List<String> get weekFullName => [
    '星期一',
    '星期二',
    '星期三',
    '星期四',
    '星期五',
    '星期六',
    '星期日',
  ];

  @override
  List<String> get weekShortName => [
    '周一',
    '周二',
    '周三',
    '周四',
    '周五',
    '周六',
    '周日',
  ];

  @override
  List<String> get weekMinName => [
    '日',
    '一',
    '二',
    '三',
    '四',
    '五',
    '六',
  ];

  @override
  String get skip => '跳过';

  @override
  String get known => '我知道了';

  @override
  String get next => '下一步';

  @override
  String get inputSearchTip => '请输入搜索内容';

  @override
  String get done => '完成';

  @override
  String get noDataTip => '暂无数据';

  @override
  String get selectAll => '全选';

  @override
  String get selected => '已选';

  @override
  String get shareWayTip => '你可以通过以下方式分享给客户';

  @override
  String get max => '最小';

  @override
  String get min => '最大';

  @override
  String get selectCountLimitTip => '您选择的数量已达上限';

  @override
  String get to => '至';

  @override
  String get filterConditionCountLimited => '您选择的筛选条件数量已达上限';

  @override
  String get minValue => '最小值';

  @override
  String get maxValue => '最大值';

  @override
  String selectTitle(String selected) => '选择$selected';

  @override
  String get startDate => '开始日期';

  @override
  String get endDate => '结束日期';

  @override
  String get selectStartDate => '请选择开始时间';

  @override
  String get selectEndDate => '请选择结束时间';

  @override
  String get fetchErrorAndRetry => '获取数据失败，请重试';

  @override
  String get netErrorAndRetryLater => '网络连接失败，检查后重试';

  @override
  String get noSearchData => '暂无搜索结果';

  @override
  List<String> get months => [
    '01',
    '02',
    '03',
    '04',
    '05',
    '06',
    '07',
    '08',
    '09',
    '10',
    '11',
    '12',
  ];

  @override
  String get total => '共';

  @override
  String get bar => '条';

  @override
  String get imgUploadFail => '图片上传失败，请重试';

  @override
  String get search => '搜索';

  @override
  String get noPermission => '没有功能权限，请联系管理员';

  @override
  String get connectTimeoutHint => "网络连接超时，请检查网络设置";

  @override
  String get responseTimeoutHint => "服务器响应超时，请稍后重试";

  @override
  String get responseErrorHint => "服务器响应异常";

  @override
  String get httpErrorHint => "请求失败，错误码：";

  @override
  String get timeRange => "时间范围";

  @override
  String get chooseFile => "选择文件";

  @override
  String get choosePhoto => "相册选图";

  @override
  String get takePhoto => "相机拍照";

  @override
  String get byDay => "按天";

  @override
  String get byMonth => "按月";

  @override
  String get byYear => "按年";

  @override
  String get pleaseChooseTime => "请选择时间";

  @override
  String get endTimeNotLessStartTime => "结束时间不能早于开始时间";

  @override
  String get videoPlay => "视频播放";

  @override
  String get upperLowerTips => "范围左侧必须小于等于右侧";

  @override
  String get reload => "重新加载";

  @override
  String get clear2 => "清除";
}

///
/// en resources
///
class KqStringEn extends KqBaseString {
  static Locale locale = Locale('en', 'US');

  @override
  String get ok => 'Ok';

  @override
  String get cancel => 'Cancel';

  @override
  String get confirm => 'Confirm';

  @override
  String get loading => 'Loading ...';

  @override
  String get pleaseEnter => 'Please Enter ';

  @override
  String get pleaseChoose => 'Please choose ';

  @override
  String get pleaseAdd => 'Please add ';

  @override
  String get reset => 'Reset';

  @override
  String get clear => 'Clear';

  @override
  String get shareTo => 'Share to';

  @override
  String get dateFormate_yyyy_MM => 'MM/yyyy';

  @override
  String get dateFormate_yyyy_MM_dd => 'dd/MM/yyyy';

  @override
  String get dateFormate_yyyy_MMMM_dd => 'dd/MMMM/yyyy';

  @override
  String get expand => 'Expand';

  @override
  String get collapse => 'Collapse';

  @override
  String get more => 'More';

  @override
  String get allPics => 'All pictures';

  @override
  String get submit => 'Submit';

  @override
  String get noTagDataTip => 'Tag data not configured yet';

  @override
  List<String> get months => [
    '01',
    '02',
    '03',
    '04',
    '05',
    '06',
    '07',
    '08',
    '09',
    '10',
    '11',
    '12',
  ];

  @override
  List<String> get weekFullName => [
    'Monday',
    'Tuesday',
    'Wednesday',
    'Thursday',
    'Friday',
    'Saturday',
    'Sunday',
  ];

  @override
  List<String> get weekShortName => [
    'Mon',
    'Tue',
    'Wed',
    'Thu',
    'Fri',
    'Sat',
    'Sun',
  ];

  @override
  List<String> get weekMinName => [
    'U',
    'M',
    'T',
    'W',
    'R',
    'F',
    'S',
  ];

  @override
  String get skip => 'Skip';

  @override
  String get known => 'I see';

  @override
  String get next => 'Next';

  @override
  String get inputSearchTip => 'Please enter search content';

  @override
  String get done => 'Done';

  @override
  String get noDataTip => 'No data';

  @override
  String get selectAll => 'Select all';

  @override
  String get selected => 'Selected';

  @override
  String get shareWayTip =>
      'You can share with customers in the following ways';

  @override
  String get max => 'Min';

  @override
  String get min => 'Max';

  @override
  String get selectCountLimitTip =>
      'You have already selected the maximum number';

  @override
  String get to => 'to';

  @override
  String get filterConditionCountLimited =>
      'You have selected the maximum number of filters';

  @override
  String get minValue => 'Min';

  @override
  String get maxValue => 'Max';

  @override
  String selectTitle(String selected) => 'Select $selected';

  @override
  String get startDate => 'Start date';

  @override
  String get endDate => 'End date';

  @override
  String get selectStartDate => 'Please select a start time';

  @override
  String get selectEndDate => 'Please select a end time';

  @override
  String get fetchErrorAndRetry => 'Fetch data fail, please try again';

  @override
  String get netErrorAndRetryLater =>
      'Network connection failed, check and try again';

  @override
  String get noSearchData => 'No search results';

  @override
  String get total => 'Total ';

  @override
  String get bar => ' rows';

  @override
  String get imgUploadFail => 'Image upload failed. Please try again';

  @override
  String get search => 'Search';

  @override
  String get noPermission =>
      'No functional permission,please contact the administrator';

  @override
  String get connectTimeoutHint => "connect timeout，please check net setting";

  @override
  String get responseTimeoutHint =>
      "server response timeout，please try again later";

  @override
  String get responseErrorHint => "server response error";

  @override
  String get httpErrorHint => "request failed，error code: ";

  @override
  String get timeRange => "Time range";

  @override
  String get chooseFile => "Choose File";

  @override
  String get choosePhoto => "Choose Photo";

  @override
  String get takePhoto => "Take Photo";

  @override
  String get byDay => "By Day";

  @override
  String get byMonth => "By Month";

  @override
  String get byYear => "By Year";

  @override
  String get pleaseChooseTime => "Please select time";

  @override
  String get endTimeNotLessStartTime => "The end time cannot be earlier than the start time";

  @override
  String get videoPlay => "video play";

  @override
  String get upperLowerTips => "The left side of the range must be less than or equal to the right side";

  @override
  String get reload => "Reload";

  @override
  String get clear2 => "clear";
}
